﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace EmprestaAE.Common.AttachedProperties
{
    class ImageEx : Control
    {


        public static string GetImagePressedSource(DependencyObject obj)
        {
            return (string)obj.GetValue(ImagePressedSourceProperty);
        }

        public static void SetImagePressedSource(DependencyObject obj, string value)
        {
            obj.SetValue(ImagePressedSourceProperty, value);
        }

        // Using a DependencyProperty as the backing store for ImagePressedSource.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty ImagePressedSourceProperty =
            DependencyProperty.RegisterAttached("ImagePressedSource", typeof(string), typeof(ImageEx), new PropertyMetadata(0));

        
    }
}
